//
//  PaiLie5DetailCell.m
//  K8彩票
//
//  Created by zyn on 2017/6/7.
//  Copyright © 2017年 zhoubo. All rights reserved.
//

#import "PaiLie5DetailCell.h"

@implementation PaiLie5DetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setContentPaiLie5:(CaipiaoHistoryModel *)model{

    _labelQiHao.text = [NSString stringWithFormat:NSLocalizedString(@"第%@期", @"第%@期"),model.issueno];
    NSArray *arrsS1 = [model.number componentsSeparatedByString:@" "];
    _label1.text = arrsS1[0];
    _label2.text = arrsS1[1];
    _label3.text = arrsS1[2];
    _label4.text = arrsS1[3];
    _label5.text = arrsS1[4];
    
    
    _label1.hidden = NO;
    _label2.hidden = NO;
    
}

-(void)setContentPaiLie3:(CaipiaoHistoryModel *)model{
    
    _labelQiHao.text = [NSString stringWithFormat:NSLocalizedString(@"第%@期", @"第%@期"),model.issueno];
    NSArray *arrsS1 = [model.number componentsSeparatedByString:@" "];
//    _label1.text = arrsS1[0];
//    _label2.text = arrsS1[1];
    _label3.text = arrsS1[0];
    _label4.text = arrsS1[1];
    _label5.text = arrsS1[2];
    
    
    _label1.hidden = YES;
    _label2.hidden = YES;
    
}


@end
